package com.im.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.im.project.entity.Chat;
import com.im.project.entity.dto.DeleteChatDto;
import com.im.project.entity.dto.UpdateChatUserMessageDto;

/**
 * 会话 服务层接口
 *
 * @author yunZhouJiaDi
 */
public interface ChatService extends IService<Chat> {

    void updateChat(UpdateChatUserMessageDto updateChatUserMessageDto);

    boolean deleteChat(DeleteChatDto deleteChatDto);

    boolean clearChat(DeleteChatDto deleteChatDto);

}
